package com.bestcem.xm.om.service.dto.common;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 描述信息
 *
 * @author xuan.yang <xuan.yang@idiaoyan.com>
 * @version v1.0
 * @date 2022/1/6 18:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserPageDTO<T> {
    /**
     * 分页数据
     */
    @JsonProperty("rows")
    private List<T> data;

    /**
     * 记录总数
     */
    private Integer total;

    private Integer page;
}
